﻿using GN.Pay.Core.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.Core.Services
{
    /// <summary>
    /// 商家会员服务
    /// </summary>
    public interface IMerchantMemberService : IPayService
    {
        /// <summary>
        /// 获取或添加会员
        /// </summary>
        /// <param name="merchantId">商家Id</param>
        /// <param name="memberNo">会员编号</param>
        /// <returns></returns>
        MerchantMember GetOrAddMember(string merchantId, string memberNo);
    }
}
